package com.hb.znpt.bean;

import org.litepal.crud.LitePalSupport;

import java.io.Serializable;

/**
 * @Description: 描述
 * @Author: houbing
 * @CreateDate: 2021/9/2 14:31
 */
public class UpdataBean extends LitePalSupport implements Serializable {

    private LandBean land;
    private long id;
    private int zwid;
    private String sfz;
    private String lat;
    private String lon;
    private String path;
    private String purl;
    private String area;     // 面积
    private String crop;     // 作物
    private String dept;     // 村
    private String uptime;   // 上传时间
    private String savetime; // 保存时间
    private String remarks;  // 备注
    private int flag;        // 0未上传 1已上传

    public UpdataBean(int zwid, String sfz, String lat, String lon, String path, String crop, String dept, String area, String savetime, int flag) {
        this.zwid = zwid;
        this.sfz = sfz;
        this.lat = lat;
        this.lon = lon;
        this.path = path;
        this.crop = crop;
        this.area = area;
        this.dept = dept;
        this.savetime = savetime;
        this.flag = flag;
    }

    public UpdataBean() {
    }

    public LandBean getLand() {
        return land;
    }

    public void setLand(LandBean land) {
        this.land = land;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCrop() {
        return crop;
    }

    public void setCrop(String crop) {
        this.crop = crop;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public int getZwid() {
        return zwid;
    }

    public void setZwid(int zwid) {
        this.zwid = zwid;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getPurl() {
        return purl;
    }

    public void setPurl(String purl) {
        this.purl = purl;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUptime() {
        return uptime;
    }

    public void setUptime(String uptime) {
        this.uptime = uptime;
    }

    public String getSavetime() {
        return savetime;
    }

    public void setSavetime(String savetime) {
        this.savetime = savetime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getSfz() {
        return sfz;
    }

    public void setSfz(String sfz) {
        this.sfz = sfz;
    }

    @Override
    public String toString() {
        return "UpdataBean{" +
                "zwid=" + zwid +
                ", lat='" + lat + '\'' +
                ", lon='" + lon + '\'' +
                ", path='" + path + '\'' +
                ", purl='" + purl + '\'' +
                ", area='" + area + '\'' +
                ", crop='" + crop + '\'' +
                ", dept='" + dept + '\'' +
                ", uptime='" + uptime + '\'' +
                ", savetime='" + savetime + '\'' +
                ", remarks='" + remarks + '\'' +
                ", flag=" + flag +
                '}';
    }
}
